﻿using System;

namespace tophd2.Models.Entity
{
    [Serializable]
    public class Images
    {
        private long? _categoryId;
        private long? _icon;
        private long? _imageId;
        private string _name;
        private long? _position;
        private string _keyword;
        private string _shortCode;
        private long? _status;
      //  private DateTime _createDate;
        private string _username;
        private long? _prefixDefineId;
        private long? _amount;
        private string _search;
        private long? _download;
        private long? _isHot;
        private long? _isNew;

        public Images()
        {
            _categoryId = 0;
            _icon = 0;
            _imageId = 0;
            _name = string.Empty;
            _position = 0;
            _keyword = string.Empty;
            _shortCode = string.Empty;
            _status = 0;
            //_createDate = DateTime.MinValue;
            _username = string.Empty;
            _prefixDefineId = 0;
            _amount = 0;
            _search = string.Empty;
            _download = 0;
            _isHot = 0;
            _isNew = 0;
        }

        public long? CategoryId
        {
            get { return _categoryId; }
            set { _categoryId = value; }
        }

        public long? Icon
        {
            get { return _icon; }
            set { _icon = value; }
        }

        public long? ImageId
        {
            get { return _imageId; }
            set { _imageId = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public long? Position
        {
            get { return _position; }
            set { _position = value; }
        }

        public string Keyword
        {
            get { return _keyword; }
            set { _keyword = value; }
        }

        public string ShortCode
        {
            get { return _shortCode; }
            set { _shortCode = value; }
        }

        public long? Status
        {
            get { return _status; }
            set { _status = value; }
        }

        //public DateTime CreateDate
        //{
        //    get { return _createDate; }
        //    set { _createDate = value; }
        //}

        public string Username
        {
            get { return _username; }
            set { _username = value; }
        }

        public long? PrefixDefineId
        {
            get { return _prefixDefineId; }
            set { _prefixDefineId = value; }
        }

        public long? Amount
        {
            get { return _amount; }
            set { _amount = value; }
        }

        public string Search
        {
            get { return _search; }
            set { _search = value; }
        }

        public long? Download
        {
            get { return _download; }
            set { _download = value; }
        }

        public long? IsHot
        {
            get { return _isHot; }
            set { _isHot = value; }
        }

        public long? IsNew
        {
            get { return _isNew; }
            set { _isNew = value; }
        }
    }
}